package com.rqbl.mapper;

import com.rqbl.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bruce
 * @since 2024-07-19
 */
@Mapper
public interface CommentMapper {

    List<Comment> getCommentByPage(Integer num,Integer pageSize, Integer pid);

    Integer getCommentCount();

    Comment getCommentById(Integer cid);

    Integer addComment(Comment comment);
}
